#pragma once
#include <typecomm.h>
#include <time2date.h>
typedef struct
{
    tmdateType dateval;
    uint32_t nanosec;
} timeDateNanoStc;

int timeSdInit();
int timeSdSetUtc(uint8_t setUtc);
int timeSdSetStamp(uint64_t setTmStamp);
int timeSdSetDate(timeDateNanoStc *setTmDate);
uint64_t timeSdGetStamp();
timeDateNanoStc tmSdGetDate();
